/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufba.lasid.v1.jitclouds.mda.datatypes;

import java.util.ArrayList;

/**
 *
 * @author aliriosa
 */
public class BasicCloud extends ArrayList<IDataCenter> implements ICloud{
    private String idCloud = null;
    private String dsCloud = null;
    private String epCloud = null;
    
    @Override
    public String getID() {
        return this.idCloud;
    }

    @Override
    public void setID(String cloudID) {
        this.idCloud = cloudID;
    }

    @Override
    public String getDescription() {
        return this.dsCloud;
    }

    @Override
    public void setDescription(String description) {
        this.dsCloud = description;
    }

    @Override
    public String getEndpoint() {
       return this.epCloud;
    }

    @Override
    public void setEndpoint(String endpoint) {
        this.epCloud = endpoint;
    }

    @Override
    public void addDC(IDataCenter dc) {
        dc.setCloud(this);
        add(dc);
    }
   
    
}
